<%@ Control Language="C#" AutoEventWireup="true" CodeFile="J_TypicalProduct.ascx.cs" Inherits="Pub_Module_J_TypicalProduct" %>
<script language="javascript" type="text/javascript">
var Url='<%= ResolveClientUrl("~/")%>';

    // LoadingAjax();
    $(window).load(function() {                                       
                        
                             LoadAjaxTypicalProduct()
                    
      });           


function LoadAjaxTypicalProduct()
{
    $.ajax({ 
                                   type: "GET", 
                                   url: "Pub/Ajax/AjaxQuery.aspx?type=GetTypicalProduct", 
                                   success: function(resp)
                                   {                                     
                                          $("#<%= divData.ClientID%>").html(resp);                                          
                                          fnLoadTypicalProduct();
                                   } 
             });     
}

function fnLoadTypicalProduct()
{
    $(".Rotator_TypicalProduct").rotator({ms : 3000,n:10}); 

}

</script>


<asp:Panel ID="divData" runat="server" style="text-align:center;">
</asp:Panel>
